package com.zhou.dao;

import com.github.pagehelper.Page;
import com.zhou.pojo.CheckItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CheckItemMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CheckItem record);

    int insertSelective(CheckItem record);

    CheckItem selectByPrimaryKey(Integer id);

    Page<CheckItem> pageQuery(@Param("value") String queryString);

    int updateByPrimaryKeySelective(CheckItem record);

    int updateByPrimaryKey(CheckItem record);

    Long findCountByCheckItemId(@Param("checkitem_id") Integer checkItemId);

    List<CheckItem> findAll();

}